package com.cq.hd.member.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cq.hd.member.api.dto.BusinessRechargeApplyAuditDto;
import com.cq.hd.member.api.dto.BusinessRechargeApplyPageDto;
import com.cq.hd.member.api.vo.BusinessRechargeApplyPageVo;
import com.cq.hd.member.po.TbBusinessRechargeApplyPo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 商家充值申请记录 Mapper 接口
 * </p>
 */
@Mapper
public interface TbBusinessRechargeApplyMapper extends BaseMapper<TbBusinessRechargeApplyPo> {
    List<BusinessRechargeApplyPageVo> listByDto(BusinessRechargeApplyPageDto businessRechargeApplyPageDto);

    Long getIdByPaymentNo(String paymentNo);

    int updateByAuditDto(BusinessRechargeApplyAuditDto businessRechargeApplyAuditDto);
}
